package top.zywork.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * CourierExtractingVO值对象类<br/>
 *
 * 创建于2020-10-27<br/>
 *
 * @author http://ljyanimo.com 刘金泳
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
public class CourierExtractingVO extends BaseVO {

    private static final long serialVersionUID = -9223372036605993608L;

    /**
	 * 主键
	 */
	private Integer id;
	/**
	 * 学校id
	 */
	@NotNull(message = "学校必选")
	private Integer schoolId;

	/**
	 * 学校名称
	 */
	private String schoolName;

	/**
	 * 抽成
	 */
	@NotNull(message = "抽成必填")
	private Integer extracting;
	/**
	 * 抽成类型
	 */
	@Size(min = 0, max = 255, message = "必须小于255个字符")
	@NotNull(message = "抽成类型必填")
	private String type;
	/**
	 * 描述
	 */
	@Size(min = 0, max = 255, message = "必须小于255个字符")
	private String descs;
	/**
	 * 版本号
	 */
	private Integer version;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 是否激活
	 */
	private Byte isActive;

}
